#include <opencv2/opencv.hpp>
using namespace cv;

int main()
{
    Mat image;
    image = cv::imread("my_image.jpg");

    namedWindow( "Display window", WINDOW_AUTOSIZE );
    imshow( "Display window", image );

    waitKey(0);
    return 0;
}

